package dao;

import org.apache.ibatis.annotations.Param;
import pojo.Student;

import java.util.List;

public interface StudentDao {
    List<Student> findAll(@Param("student") Student student, @Param("offset")  int offset, @Param("pageSize") int pageSize);

    int addStudent(Student student);

    Student findById(Integer id);

    int UpdateStudent(Student student);

    int DeleteStudentById(Integer id);

    int count(Student student);


}
